import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { FormsModule }   from '@angular/forms';



import { AdminComponent } from './admin.component';
import { HomeComponent } from './home/home.component';
import {ROUTES_CONFIG} from "./routes";
//因为admin 里使用了core 里的组件所以需要imports
import {CoreModule} from "../core";
import { AdminformComponent } from './adminform/adminform.component';
import { PipeComponent } from './pipe/pipe.component';

@NgModule({
  imports: [
    CommonModule,FormsModule,CoreModule,RouterModule.forChild(ROUTES_CONFIG)
  ],
  declarations: [AdminComponent, HomeComponent, AdminformComponent, PipeComponent]
})
export class AdminModule { }
